[INFO] cloning repository https://github.com/nikomatsakis/grep-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikomatsakis/grep-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd835f864fa4231c082dedde197d4ed87ed0d070
[INFO] building nikomatsakis/grep-test against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nikomatsakis/grep-test on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nikomatsakis/grep-test
[INFO] finished tweaking git repo https://github.com/nikomatsakis/grep-test
[INFO] tweaked toml for git repo https://github.com/nikomatsakis/grep-test written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/nikomatsakis/grep-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1a82cf32a3f9540d7dc0cf442ae5c2a991b28bbea9de11a312dc37b07dd5103
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c1a82cf32a3f9540d7dc0cf442ae5c2a991b28bbea9de11a312dc37b07dd5103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1a82cf32a3f9540d7dc0cf442ae5c2a991b28bbea9de11a312dc37b07dd5103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1a82cf32a3f9540d7dc0cf442ae5c2a991b28bbea9de11a312dc37b07dd5103", kill_on_drop: false }`
[INFO] [stdout] c1a82cf32a3f9540d7dc0cf442ae5c2a991b28bbea9de11a312dc37b07dd5103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c17aa77a249e3920fee16ae7bc6dbd2fee4f99f8117d8851a4d681bf8c3e848
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8c17aa77a249e3920fee16ae7bc6dbd2fee4f99f8117d8851a4d681bf8c3e848", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.36
[INFO] [stderr]    Compiling cc v1.0.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.5
[INFO] [stderr]    Compiling regex-syntax v0.4.2
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling regex v0.2.5
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.5
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling grep-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `extern`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use extern::{
[INFO] [stdout]    |     ^^^^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: you can escape reserved keywords to use them as identifiers
[INFO] [stdout]    |
[INFO] [stdout] 11 | use r#extern::{
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:55
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro,
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: subsumed by `::foo::bar` paths
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `extern`
[INFO] [stdout]  --> src/file_read.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path};
[INFO] [stdout]   |     ^^^^^^ expected identifier, found keyword
[INFO] [stdout]   |
[INFO] [stdout] help: you can escape reserved keywords to use them as identifiers
[INFO] [stdout]   |
[INFO] [stdout] 1 | use r#extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path};
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`?
[INFO] [stdout]  --> src/file_read.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path};
[INFO] [stdout]   |     ^^^^^^ maybe a missing crate `r#extern`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`?
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use extern::{
[INFO] [stdout]    |     ^^^^^^ maybe a missing crate `r#extern`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]  --> src/file_read.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 |     mut callback: impl FnMut(&str) -> io::Result<()>,
[INFO] [stdout]   |                                       ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]  --> src/file_read.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | ) -> io::Result<()> {
[INFO] [stdout]   |      ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() -> io::Result<()> {
[INFO] [stdout]    |              ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env`
[INFO] [stdout]   --> src/main.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut args = env::args().skip(1);
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `process`
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             process::exit(1);
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex`
[INFO] [stdout]   --> src/main.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |         Some(arg) => Regex::new(&arg).expect("invalid regex"),
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Regex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/main.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let stdout = io::stdout();
[INFO] [stdout]    |                  ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]  --> src/file_read.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     path: impl AsRef<Path>,
[INFO] [stdout]   |                      ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/file_read.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let file = File::open(path)?;
[INFO] [stdout]   |                ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader`
[INFO] [stdout]  --> src/file_read.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let reader = BufReader::new(&file);
[INFO] [stdout]   |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::BufReader;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0557.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grep-test`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8c17aa77a249e3920fee16ae7bc6dbd2fee4f99f8117d8851a4d681bf8c3e848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c17aa77a249e3920fee16ae7bc6dbd2fee4f99f8117d8851a4d681bf8c3e848", kill_on_drop: false }`
[INFO] [stdout] 8c17aa77a249e3920fee16ae7bc6dbd2fee4f99f8117d8851a4d681bf8c3e848
